#ifndef RECTANGLEDATA_H
#define RECTANGLEDATA_H

#include "ShapeData.h"

class CRectangleData : public CShapeData
{
public:
    CRectangleData();
    CRectangleData(const double &PosX, const double &PosY, const double &dWidth, const double &dHight);
    ~CRectangleData();

    inline void SetStarePosX(const double &dPosX){m_dStartPosX = dPosX;}
    inline void SetStarePosY(const double &dPosY){m_dStartPosY = dPosY;}
    inline void SetWidth(const double &dWidth){m_dWidth = dWidth;}
    inline void SetHeight(const double &dHeight){m_dHeight = dHeight;}

    inline const double &GetStartPosX() const {return m_dStartPosX;}
    inline const double &GetStartPosY() const {return m_dStartPosY;}
    inline const double &GetWidth() const {return m_dWidth;}
    inline const double &GetHeight() const {return m_dHeight;}

private:
    double m_dStartPosX;
    double m_dStartPosY;
    double m_dWidth;
    double m_dHeight;

};

#endif // RECTANGLEDATA_H
